import Button from './packages/Button';
import Layout, { Header, Sider, Content, Footer } from './packages/Layout';

const components = [Button, Switch, Input, Layout, Header, Sider, Content, Footer];

const install = function (app) {
  components.forEach(comp => app.component(comp.name, comp));
};

export { Button, Layout, Header, Sider, Content, Footer };
export default { install };
